package com.ssm_basic.egweibo2.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class UserLoginParam {
    @Size(min = 2, max = 12, message = "用户名长度必须在2-12位之间。")
    private String username;
    private String password;
}
